 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
     <head>
          <title>RWDINFOPAK</title>
          <script language="VBScript">

               sub RunStayOnTop(iWidth, iHeight, iPosition)

                    Dim varReturn
                    On Error Resume Next

                    'Get window title
                    rwdhlpStayOnTop.WindowName = document.title

                    'If an error occurs
                    if Err then

                         'Write error information
                         iErrorNumber = Err.number
                         sErrorDesc = Err.Description

                         'Clear the error
                         Err.Clear

                         exit sub

                    else

                         'Continue with stay on top
                         rwdhlpStayOnTop.BrowserWidth =iWidth
                         rwdhlpStayOnTop.BrowserHeight =iHeight
                         rwdhlpStayOnTop.BrowserPosition =iPosition
                         varReturn = rwdhlpStayOnTop.StayOnTop()

                    end if

               end sub

          </script>
          <script language="JavaScript">

               /*
                * This function parses comma-separated name=value
                * argument pairs from the query string of the URL.
                * It stores the name=value pairs in
                * properties of an object and returns that object.
                */
               function getArgs(  ) {
                   var args = new Object(  );
                   var query = location.search.substring(1);

                   // Get query string
                   var pairs = query.split("&");

                   // Break at comma
                   for(var i = 0; i < pairs.length; i++) {
                       var pos = pairs[i].indexOf('=');
                         // Look for "name=value"
                       if (pos == -1) continue;
                         // If not found, skip
                       var argname = pairs[i].substring(0,pos);
                         // Extract the name
                       var value = pairs[i].substring(pos+1);
                         // Extract the value
                       args[argname] = unescape(value);
                        // Store as a property
                      // In JavaScript 1.5, use decodeURIComponent(  )
                      // instead of escape(  )
                   }
                   return args;     // Return the object
               }


               function WriteActiveXObject () {

                    //<OBJECT ID="rwdhlpStayOnTop" CLASSID="CLSID:F8A2314A-16E1-48CB-8EE7-A221207CBEEE" CODEBASE="http://infopak.aeroflot.ru/helplaunchpad/rwdsot.CAB#version=1,0,0,15">
                    //</OBJECT>

                    //Write ActiveX control object
                    var AppName = navigator.appName;
                    if (AppName != "Netscape") {

                         //Write <OBJECT> tag
                         document.writeln("<OBJECT ID='rwdhlpStayOnTop' CLASSID='CLSID:F8A2314A-16E1-48CB-8EE7-A221207CBEEE' ");
                         document.writeln("CODEBASE='http://infopak.aeroflot.ru/helplaunchpad/rwdsot.CAB#version=1,0,0,15>'");
                         document.writeln("     <PARAM NAME='BrowserWidth' VALUE='10'>");
                         document.writeln("     <PARAM NAME='BrowserHeight' VALUE='30'>");
                         document.writeln("     <PARAM NAME='BrowserPosition' VALUE='1'>");
                         document.writeln("</OBJECT>");

                    }
               }


               function LaunchURL (sCurrentURL) {

                    var sHTTP = new String("http:\/\/");
                    var sFILE = new String("file:");

                    //If URL is not blank
                    if (sCurrentURL != "" || sCurrentURL==null || sCurrentURL=="undefined") {

                         //Force sCurrentURL to lowercase
                         var sTempURL = new String(sCurrentURL);
                         sTempURL = sTempURL.toLowerCase();

                         //If 'http' and 'file' is not specified
                         if ( sTempURL.slice(0,4) != "http" && sTempURL.slice(0,4) != "file") {

                              //If '//' or '\\' is specified
                              if ( sTempURL.slice(0,1) == "\\" || sTempURL.slice(0,1) == "//" ) {

                                   //Append 'file:' protocol
                                   sTempURL = sFILE.concat(sTempURL);

                              }else{

                                   //Append 'http:\\' protocol
                                   sTempURL = sHTTP.concat(sTempURL);
                              }

                         }

                         //Launch URL
                         window.location.href = sTempURL;


                    }else{

                         //Write error notice
                         document.writeln("<html><head><title>Error: Improper help file location...</title></head><body>");
                         document.writeln("<p><font color='#990000' size='3'>Sorry.  An improper help file location\/URL was specified.  Please contact your RWD Info Pak administrator.</font></p>");
                         document.writeln("<p><font color='#990000' size='3'>Help file location\/URL specfied (between two brackets): [" + sURL + "]</font></p>");
                         document.writeln("</body></html>");

                    }
               }